package com.tudouji.project.mt.mapper;

import java.util.List;
import com.tudouji.project.mt.domain.MtFoodconsumitem;

/**
 * 美团菜品消耗单明细Mapper接口
 * 
 * @author tudouji
 * @date 2023-11-21
 */
public interface MtFoodconsumitemMapper 
{
    /**
     * 查询美团菜品消耗单明细
     * 
     * @param id 美团菜品消耗单明细ID
     * @return 美团菜品消耗单明细
     */
    public MtFoodconsumitem selectMtFoodconsumitemById(Long id);

    /**
     * 查询美团菜品消耗单明细列表
     * 
     * @param mtFoodconsumitem 美团菜品消耗单明细
     * @return 美团菜品消耗单明细集合
     */
    public List<MtFoodconsumitem> selectMtFoodconsumitemList(MtFoodconsumitem mtFoodconsumitem);

    /**
     * 新增美团菜品消耗单明细
     * 
     * @param mtFoodconsumitem 美团菜品消耗单明细
     * @return 结果
     */
    public int insertMtFoodconsumitem(MtFoodconsumitem mtFoodconsumitem);

    /**
     * 修改美团菜品消耗单明细
     * 
     * @param mtFoodconsumitem 美团菜品消耗单明细
     * @return 结果
     */
    public int updateMtFoodconsumitem(MtFoodconsumitem mtFoodconsumitem);

    /**
     * 删除美团菜品消耗单明细
     * 
     * @param id 美团菜品消耗单明细ID
     * @return 结果
     */
    public int deleteMtFoodconsumitemById(Long id);

    /**
     * 批量删除美团菜品消耗单明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMtFoodconsumitemByIds(Long[] ids);
}
